import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { WalletService } from './wallet.service';
import { WalletController } from './wallet.controller';
import { UserWallet } from './entities/user-wallet.entity';
import { User } from '../../users/entities/user.entity';

/**
 * 钱包模块
 */
@Module({
  imports: [TypeOrmModule.forFeature([UserWallet, User])],
  controllers: [WalletController],
  providers: [WalletService],
  exports: [WalletService],
})
export class WalletModule {}